home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Programmation / jedit / jedit5.1.0install.exe / {app} / modes / gcbasic.xml < prev    next >
Extensible Markup Language  |  2013-07-28  |  30KB  |  895 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  4.  
  5. <!-- Name:    gcbasic.xml    -->
  6. <!-- Version: 1.0 for jEdit 4.3 pre 15  -->
  7. <!-- Version: 17 August 2008 -->
  8. <!-- Title:   jEdit Syntax highlighting Mode file for GCBASIC -->
  9. <!-- Author:  Mark J. Twomey -->
  10.  
  11. <!--
  12. Add a MODE entry in the catalog file for the following:
  13.    NAME="gcbasic" FILE="gcbasic.xml"
  14.    FILE_NAME_GLOB="*.{gc,gcb}"
  15.    FIRST_LINE_GLOB="{*GCBASIC*,*Great Cow BASIC*}"
  16. ===================================================================
  17.  
  18. Note 1: GCBASIC (Great Cow BASIC) is an open-source BASIC compiler for Microchip PIC microcontrollers.
  19.         For more information go here   http://gcbasic.sourceforge.net/
  20.  
  21. Note 2: It will not unindent as you type.
  22.         However, if you do "Select All" (Ctrl-A), and then do "Indent Lines" (Ctrl-i),
  23.         then it fixes the indentation of the whole program. It works great!
  24. -->
  25.  
  26. <MODE>
  27.     <PROPS>
  28.         <PROPERTY NAME="lineComment" VALUE="'" />
  29.       <PROPERTY NAME="ignoreWhitespace" VALUE="TRUE" />
  30.  
  31.       <PROPERTY NAME="indentNextLines"   VALUE="^(SUB\s.*|FUNCTION\s.*|MACRO\s.*|\s+DO\s+.*|\s+DO$|DO\s+.*|DO$|\s*FOR\s.*|FOR\s.*|REPEAT\s.*|CASE\s.*|\s+IF\s+.*\s+THEN$|IF\s+.*\s+THEN$|\s+#ifdef\s+.*$|#ifdef\s+.*$)" />
  32.       <PROPERTY NAME="unindentThisLine"  VALUE="^(\s+END\s+SUB.*|END\s+SUB.*|\s+END\s+FUNCTION.*|END\s+FUNCTION.*|\s+END\s+MACRO.*|END\s+MACRO.*|\s+LOOP.*|LOOP.*|\s+NEXT.*|NEXT.*|\s+END\s+IF.*|END\s+IF.*|\s+#endif.*|#endif.*|\s+#endif|#endif)" />
  33.       <PROPERTY NAME="unindentNextLines" VALUE="^(\s+END\s+SUB|END\s+SUB|\s+END\s+SUB\s+|END\s+SUB\s+|\s+END\s+FUNCTION|END\s+FUNCTION|\s+END\s+FUNCTION\s+|END\s+FUNCTION\s+|\s+END\s+MACRO|END\s+MACRO|\s+END\s+MACRO\s+|END\s+MACRO\s+|\s+LOOP|LOOP|\s+LOOP\s+|LOOP\s+|\s+NEXT|NEXT|\s+NEXT\s+|NEXT\s+|\s+END\s+IF|END\s+IF|\s+END\s+IF\s+|END\s+IF\s+|\s+#endif|#endif|\s+#endif\s+|#endif\s+)" />
  34.     </PROPS>
  35.  
  36.     <RULES ESCAPE="\" IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="TRUE">
  37.         <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
  38.             <BEGIN>"</BEGIN>
  39.             <END>"</END>
  40.         </SPAN>
  41.  
  42.       <!-- Comments -->
  43.         <EOL_SPAN TYPE="COMMENT4">'</EOL_SPAN>
  44.         <EOL_SPAN TYPE="COMMENT4">rem </EOL_SPAN>
  45.  
  46.          <!-- Arithmetic operators -->
  47.       <SEQ TYPE="OPERATOR">*</SEQ>
  48.         <SEQ TYPE="OPERATOR">/</SEQ>
  49.         <SEQ TYPE="OPERATOR">+</SEQ>
  50.         <SEQ TYPE="OPERATOR">-</SEQ>
  51.       <SEQ TYPE="OPERATOR">+=</SEQ>
  52.       <SEQ TYPE="OPERATOR">-=</SEQ>
  53.  
  54.         <!-- Logical operators -->
  55.         <SEQ TYPE="OPERATOR">&</SEQ>
  56.       <SEQ TYPE="OPERATOR">|</SEQ>
  57.       <SEQ TYPE="OPERATOR">!</SEQ>
  58.  
  59.         <!-- Comparison operators -->
  60.       <SEQ TYPE="OPERATOR">=</SEQ>
  61.         <SEQ TYPE="OPERATOR"><></SEQ>
  62.       <SEQ TYPE="OPERATOR">></SEQ>
  63.         <SEQ TYPE="OPERATOR"><</SEQ>
  64.       <SEQ TYPE="OPERATOR">>=</SEQ>
  65.         <SEQ TYPE="OPERATOR"><=</SEQ>
  66.  
  67.         <KEYWORDS>
  68.          <!-- Compiler Directives -->
  69.          <KEYWORD3>#include</KEYWORD3>
  70.          <KEYWORD3>#define</KEYWORD3>
  71.          <KEYWORD3>#chip</KEYWORD3>
  72.          <KEYWORD3>#osc</KEYWORD3>
  73.          <KEYWORD3>#config</KEYWORD3>
  74.          <KEYWORD3>#IFDEF</KEYWORD3>
  75.          <KEYWORD3>#ENDIF</KEYWORD3>
  76.          <KEYWORD3>#SCRIPT</KEYWORD3>
  77.          <KEYWORD3>#ENDSCRIPT</KEYWORD3>
  78.          <KEYWORD3>#int</KEYWORD3>
  79.          <KEYWORD3>#startup</KEYWORD3>
  80.          <KEYWORD3>#RAM</KEYWORD3>
  81.          <KEYWORD3>#mem</KEYWORD3>
  82.  
  83.          <!--  ====== CHIP DATA : START  ====== -->
  84.          <!-- [Ports] -->
  85.          <KEYWORD2>PORTA</KEYWORD2>
  86.          <KEYWORD2>PORTB</KEYWORD2>
  87.          <KEYWORD2>PORTC</KEYWORD2>
  88.          <KEYWORD2>PORTD</KEYWORD2>
  89.          <KEYWORD2>PORTE</KEYWORD2>
  90.          <KEYWORD2>PORTF</KEYWORD2>
  91.          <KEYWORD2>PORTG</KEYWORD2>
  92.          <KEYWORD2>PORTH</KEYWORD2>
  93.          <KEYWORD2>PORTI</KEYWORD2>
  94.          <KEYWORD2>PORTJ</KEYWORD2>
  95.  
  96.          <!-- [ChipData] -->
  97.          <KEYWORD2>Prog</KEYWORD2>
  98.          <KEYWORD2>EEPROM</KEYWORD2>
  99.          <KEYWORD2>RAM</KEYWORD2>
  100.          <KEYWORD2>I/O</KEYWORD2>
  101.          <KEYWORD2>ADC</KEYWORD2>
  102.          <KEYWORD2>MaxMHz</KEYWORD2>
  103.          <KEYWORD2>IntOsc</KEYWORD2>
  104.          <KEYWORD2>Pins</KEYWORD2>
  105.          <KEYWORD2>Family</KEYWORD2>
  106.          <KEYWORD2>ConfigWords</KEYWORD2>
  107.          <KEYWORD2>PSP</KEYWORD2>
  108.          <KEYWORD2>MaxAddress</KEYWORD2>
  109.  
  110.          <!-- [Interrupts] -->
  111.          <KEYWORD2>ADCReady</KEYWORD2>
  112.          <KEYWORD2>CCP1</KEYWORD2>
  113.          <KEYWORD2>CCP2</KEYWORD2>
  114.          <KEYWORD2>Comp1Change</KEYWORD2>
  115.          <KEYWORD2>Comp2Change</KEYWORD2>
  116.          <KEYWORD2>EEPROMReady</KEYWORD2>
  117.          <KEYWORD2>ExtInt0</KEYWORD2>
  118.          <KEYWORD2>LPWU</KEYWORD2>
  119.          <KEYWORD2>OscillatorFail</KEYWORD2>
  120.          <KEYWORD2>PORTBChange</KEYWORD2>
  121.          <KEYWORD2>SSP1Collision</KEYWORD2>
  122.          <KEYWORD2>SSP1Ready</KEYWORD2>
  123.          <KEYWORD2>Timer0Overflow</KEYWORD2>
  124.          <KEYWORD2>Timer1Overflow</KEYWORD2>
  125.          <KEYWORD2>Timer2Overflow</KEYWORD2>
  126.          <KEYWORD2>UsartRX1Ready</KEYWORD2>
  127.          <KEYWORD2>UsartTX1Ready</KEYWORD2>
  128.  
  129.          <!-- [Registers] -->
  130.          <KEYWORD2>INDF</KEYWORD2>
  131.          <KEYWORD2>TMR0</KEYWORD2>
  132.          <KEYWORD2>PCL</KEYWORD2>
  133.          <KEYWORD2>STATUS</KEYWORD2>
  134.          <KEYWORD2>FSR</KEYWORD2>
  135.          <KEYWORD2>PCLATH</KEYWORD2>
  136.          <KEYWORD2>INTCON</KEYWORD2>
  137.          <KEYWORD2>PIR1</KEYWORD2>
  138.          <KEYWORD2>PIR2</KEYWORD2>
  139.          <KEYWORD2>TMR1L</KEYWORD2>
  140.          <KEYWORD2>TMR1H</KEYWORD2>
  141.          <KEYWORD2>T1CON</KEYWORD2>
  142.          <KEYWORD2>TMR2</KEYWORD2>
  143.          <KEYWORD2>T2CON</KEYWORD2>
  144.          <KEYWORD2>SSPBUF</KEYWORD2>
  145.          <KEYWORD2>SSPCON</KEYWORD2>
  146.          <KEYWORD2>CCPR1L</KEYWORD2>
  147.          <KEYWORD2>CCPR1H</KEYWORD2>
  148.          <KEYWORD2>CCP1CON</KEYWORD2>
  149.          <KEYWORD2>RCSTA</KEYWORD2>
  150.          <KEYWORD2>TXREG</KEYWORD2>
  151.          <KEYWORD2>RCREG</KEYWORD2>
  152.          <KEYWORD2>CCPR2L</KEYWORD2>
  153.          <KEYWORD2>CCPR2H</KEYWORD2>
  154.          <KEYWORD2>CCP2CON</KEYWORD2>
  155.          <KEYWORD2>ADRESH</KEYWORD2>
  156.          <KEYWORD2>ADCON0</KEYWORD2>
  157.          <KEYWORD2>OPTION_REG</KEYWORD2>
  158.          <KEYWORD2>TRISA</KEYWORD2>
  159.          <KEYWORD2>TRISB</KEYWORD2>
  160.          <KEYWORD2>TRISC</KEYWORD2>
  161.          <KEYWORD2>TRISD</KEYWORD2>
  162.          <KEYWORD2>TRISE</KEYWORD2>
  163.          <KEYWORD2>PIE1</KEYWORD2>
  164.          <KEYWORD2>PIE2</KEYWORD2>
  165.          <KEYWORD2>PCON</KEYWORD2>
  166.          <KEYWORD2>OSCCON</KEYWORD2>
  167.          <KEYWORD2>OSCTUNE</KEYWORD2>
  168.          <KEYWORD2>SSPCON2</KEYWORD2>
  169.          <KEYWORD2>PR2</KEYWORD2>
  170.          <KEYWORD2>SSPADD</KEYWORD2>
  171.          <KEYWORD2>SSPMSK</KEYWORD2>
  172.          <KEYWORD2>MSK</KEYWORD2>
  173.          <KEYWORD2>SSPSTAT</KEYWORD2>
  174.          <KEYWORD2>WPUB</KEYWORD2>
  175.          <KEYWORD2>IOCB</KEYWORD2>
  176.          <KEYWORD2>VRCON</KEYWORD2>
  177.          <KEYWORD2>TXSTA</KEYWORD2>
  178.          <KEYWORD2>SPBRG</KEYWORD2>
  179.          <KEYWORD2>SPBRGH</KEYWORD2>
  180.          <KEYWORD2>PWM1CON</KEYWORD2>
  181.          <KEYWORD2>ECCPAS</KEYWORD2>
  182.          <KEYWORD2>PSTRCON</KEYWORD2>
  183.          <KEYWORD2>ADRESL</KEYWORD2>
  184.          <KEYWORD2>ADCON1</KEYWORD2>
  185.          <KEYWORD2>WDTCON</KEYWORD2>
  186.          <KEYWORD2>CM1CON0</KEYWORD2>
  187.          <KEYWORD2>CM2CON0</KEYWORD2>
  188.          <KEYWORD2>CM2CON1</KEYWORD2>
  189.          <KEYWORD2>EEDATA</KEYWORD2>
  190.          <KEYWORD2>EEDAT</KEYWORD2>
  191.          <KEYWORD2>EEADR</KEYWORD2>
  192.          <KEYWORD2>EEDATH</KEYWORD2>
  193.          <KEYWORD2>EEADRH</KEYWORD2>
  194.          <KEYWORD2>SRCON</KEYWORD2>
  195.          <KEYWORD2>BAUDCTL</KEYWORD2>
  196.          <KEYWORD2>ANSEL</KEYWORD2>
  197.          <KEYWORD2>ANSELH</KEYWORD2>
  198.          <KEYWORD2>EECON1</KEYWORD2>
  199.          <KEYWORD2>EECON2</KEYWORD2>
  200.  
  201.          <!-- [Bits] -->
  202.          <KEYWORD2>IRP</KEYWORD2>
  203.          <KEYWORD2>RP1</KEYWORD2>
  204.          <KEYWORD2>RP0</KEYWORD2>
  205.          <KEYWORD2>NOT_TO</KEYWORD2>
  206.          <KEYWORD2>NOT_PD</KEYWORD2>
  207.          <KEYWORD2>Z</KEYWORD2>
  208.          <KEYWORD2>DC</KEYWORD2>
  209.          <KEYWORD2>C</KEYWORD2>
  210.          <KEYWORD2>GIE</KEYWORD2>
  211.          <KEYWORD2>PEIE</KEYWORD2>
  212.          <KEYWORD2>T0IE</KEYWORD2>
  213.          <KEYWORD2>TMR0IE</KEYWORD2>
  214.          <KEYWORD2>INTE</KEYWORD2>
  215.          <KEYWORD2>RBIE</KEYWORD2>
  216.          <KEYWORD2>T0IF</KEYWORD2>
  217.          <KEYWORD2>TMR0IF</KEYWORD2>
  218.          <KEYWORD2>INTF</KEYWORD2>
  219.          <KEYWORD2>RBIF</KEYWORD2>
  220.          <KEYWORD2>ADIF</KEYWORD2>
  221.          <KEYWORD2>RCIF</KEYWORD2>
  222.          <KEYWORD2>TXIF</KEYWORD2>
  223.          <KEYWORD2>SSPIF</KEYWORD2>
  224.          <KEYWORD2>CCP1IF</KEYWORD2>
  225.          <KEYWORD2>TMR2IF</KEYWORD2>
  226.          <KEYWORD2>TMR1IF</KEYWORD2>
  227.          <KEYWORD2>OSFIF</KEYWORD2>
  228.          <KEYWORD2>C2IF</KEYWORD2>
  229.          <KEYWORD2>C1IF</KEYWORD2>
  230.          <KEYWORD2>EEIF</KEYWORD2>
  231.          <KEYWORD2>BCLIF</KEYWORD2>
  232.          <KEYWORD2>ULPWUIF</KEYWORD2>
  233.          <KEYWORD2>CCP2IF</KEYWORD2>
  234.          <KEYWORD2>T1GIV</KEYWORD2>
  235.          <KEYWORD2>TMR1GE</KEYWORD2>
  236.          <KEYWORD2>T1CKPS1</KEYWORD2>
  237.          <KEYWORD2>T1CKPS0</KEYWORD2>
  238.          <KEYWORD2>T1OSCEN</KEYWORD2>
  239.          <KEYWORD2>NOT_T1SYNC</KEYWORD2>
  240.          <KEYWORD2>T1INSYNC</KEYWORD2>
  241.          <KEYWORD2>T1SYNC</KEYWORD2>
  242.          <KEYWORD2>TMR1CS</KEYWORD2>
  243.          <KEYWORD2>TMR1ON</KEYWORD2>
  244.          <KEYWORD2>TOUTPS3</KEYWORD2>
  245.          <KEYWORD2>TOUTPS2</KEYWORD2>
  246.          <KEYWORD2>TOUTPS1</KEYWORD2>
  247.          <KEYWORD2>TOUTPS0</KEYWORD2>
  248.          <KEYWORD2>TMR2ON</KEYWORD2>
  249.          <KEYWORD2>T2CKPS1</KEYWORD2>
  250.          <KEYWORD2>T2CKPS0</KEYWORD2>
  251.          <KEYWORD2>WCOL</KEYWORD2>
  252.          <KEYWORD2>SSPOV</KEYWORD2>
  253.          <KEYWORD2>SSPEN</KEYWORD2>
  254.          <KEYWORD2>CKP</KEYWORD2>
  255.          <KEYWORD2>SSPM3</KEYWORD2>
  256.          <KEYWORD2>SSPM2</KEYWORD2>
  257.          <KEYWORD2>SSPM1</KEYWORD2>
  258.          <KEYWORD2>SSPM0</KEYWORD2>
  259.          <KEYWORD2>P1M1</KEYWORD2>
  260.          <KEYWORD2>P1M0</KEYWORD2>
  261.          <KEYWORD2>DC1B1</KEYWORD2>
  262.          <KEYWORD2>CCP1X</KEYWORD2>
  263.          <KEYWORD2>DC1B0</KEYWORD2>
  264.          <KEYWORD2>CCP1Y</KEYWORD2>
  265.          <KEYWORD2>CCP1M3</KEYWORD2>
  266.          <KEYWORD2>CCP1M2</KEYWORD2>
  267.          <KEYWORD2>CCP1M1</KEYWORD2>
  268.          <KEYWORD2>CCP1M0</KEYWORD2>
  269.          <KEYWORD2>SPEN</KEYWORD2>
  270.          <KEYWORD2>RX9</KEYWORD2>
  271.          <KEYWORD2>RC9</KEYWORD2>
  272.          <KEYWORD2>NOT_RC8</KEYWORD2>
  273.          <KEYWORD2>RC8_9</KEYWORD2>
  274.          <KEYWORD2>SREN</KEYWORD2>
  275.          <KEYWORD2>CREN</KEYWORD2>
  276.          <KEYWORD2>ADDEN</KEYWORD2>
  277.          <KEYWORD2>FERR</KEYWORD2>
  278.          <KEYWORD2>OERR</KEYWORD2>
  279.          <KEYWORD2>RX9D</KEYWORD2>
  280.          <KEYWORD2>RCD8</KEYWORD2>
  281.          <KEYWORD2>CCP2X</KEYWORD2>
  282.          <KEYWORD2>DC2B1</KEYWORD2>
  283.          <KEYWORD2>CCP2Y</KEYWORD2>
  284.          <KEYWORD2>DC2B0</KEYWORD2>
  285.          <KEYWORD2>CCP2M3</KEYWORD2>
  286.          <KEYWORD2>CCP2M2</KEYWORD2>
  287.          <KEYWORD2>CCP2M1</KEYWORD2>
  288.          <KEYWORD2>CCP2M0</KEYWORD2>
  289.          <KEYWORD2>ADCS1</KEYWORD2>
  290.          <KEYWORD2>ADCS0</KEYWORD2>
  291.          <KEYWORD2>CHS3</KEYWORD2>
  292.          <KEYWORD2>CHS2</KEYWORD2>
  293.          <KEYWORD2>CHS1</KEYWORD2>
  294.          <KEYWORD2>CHS0</KEYWORD2>
  295.          <KEYWORD2>GO</KEYWORD2>
  296.          <KEYWORD2>NOT_DONE</KEYWORD2>
  297.          <KEYWORD2>GO_DONE</KEYWORD2>
  298.          <KEYWORD2>ADON</KEYWORD2>
  299.          <KEYWORD2>NOT_RBPU</KEYWORD2>
  300.          <KEYWORD2>INTEDG</KEYWORD2>
  301.          <KEYWORD2>T0CS</KEYWORD2>
  302.          <KEYWORD2>T0SE</KEYWORD2>
  303.          <KEYWORD2>PSA</KEYWORD2>
  304.          <KEYWORD2>PS2</KEYWORD2>
  305.          <KEYWORD2>PS1</KEYWORD2>
  306.          <KEYWORD2>PS0</KEYWORD2>
  307.          <KEYWORD2>ADIE</KEYWORD2>
  308.          <KEYWORD2>RCIE</KEYWORD2>
  309.          <KEYWORD2>TXIE</KEYWORD2>
  310.          <KEYWORD2>SSPIE</KEYWORD2>
  311.          <KEYWORD2>CCP1IE</KEYWORD2>
  312.          <KEYWORD2>TMR2IE</KEYWORD2>
  313.          <KEYWORD2>TMR1IE</KEYWORD2>
  314.          <KEYWORD2>OSFIE</KEYWORD2>
  315.          <KEYWORD2>C2IE</KEYWORD2>
  316.          <KEYWORD2>C1IE</KEYWORD2>
  317.          <KEYWORD2>EEIE</KEYWORD2>
  318.          <KEYWORD2>BCLIE</KEYWORD2>
  319.          <KEYWORD2>ULPWUIE</KEYWORD2>
  320.          <KEYWORD2>CCP2IE</KEYWORD2>
  321.          <KEYWORD2>ULPWUE</KEYWORD2>
  322.          <KEYWORD2>SBOREN</KEYWORD2>
  323.          <KEYWORD2>NOT_POR</KEYWORD2>
  324.          <KEYWORD2>NOT_BO</KEYWORD2>
  325.          <KEYWORD2>NOT_BOR</KEYWORD2>
  326.          <KEYWORD2>IRCF2</KEYWORD2>
  327.          <KEYWORD2>IRCF1</KEYWORD2>
  328.          <KEYWORD2>IRCF0</KEYWORD2>
  329.          <KEYWORD2>OSTS</KEYWORD2>
  330.          <KEYWORD2>HTS</KEYWORD2>
  331.          <KEYWORD2>LTS</KEYWORD2>
  332.          <KEYWORD2>SCS</KEYWORD2>
  333.          <KEYWORD2>TUN4</KEYWORD2>
  334.          <KEYWORD2>TUN3</KEYWORD2>
  335.          <KEYWORD2>TUN2</KEYWORD2>
  336.          <KEYWORD2>TUN1</KEYWORD2>
  337.          <KEYWORD2>TUN0</KEYWORD2>
  338.          <KEYWORD2>GCEN</KEYWORD2>
  339.          <KEYWORD2>ACKSTAT</KEYWORD2>
  340.          <KEYWORD2>ACKDT</KEYWORD2>
  341.          <KEYWORD2>ACKEN</KEYWORD2>
  342.          <KEYWORD2>RCEN</KEYWORD2>
  343.          <KEYWORD2>PEN</KEYWORD2>
  344.          <KEYWORD2>RSEN</KEYWORD2>
  345.          <KEYWORD2>SEN</KEYWORD2>
  346.          <KEYWORD2>SMP</KEYWORD2>
  347.          <KEYWORD2>CKE</KEYWORD2>
  348.          <KEYWORD2>D</KEYWORD2>
  349.          <KEYWORD2>I2C_DATA</KEYWORD2>
  350.          <KEYWORD2>NOT_A</KEYWORD2>
  351.          <KEYWORD2>NOT_ADDRESS</KEYWORD2>
  352.          <KEYWORD2>D_A</KEYWORD2>
  353.          <KEYWORD2>DATA_ADDRESS</KEYWORD2>
  354.          <KEYWORD2>P</KEYWORD2>
  355.          <KEYWORD2>I2C_STOP</KEYWORD2>
  356.          <KEYWORD2>S</KEYWORD2>
  357.          <KEYWORD2>I2C_START</KEYWORD2>
  358.          <KEYWORD2>R</KEYWORD2>
  359.          <KEYWORD2>I2C_READ</KEYWORD2>
  360.          <KEYWORD2>NOT_W</KEYWORD2>
  361.          <KEYWORD2>NOT_WRITE</KEYWORD2>
  362.          <KEYWORD2>R_W</KEYWORD2>
  363.          <KEYWORD2>READ_WRITE</KEYWORD2>
  364.          <KEYWORD2>UA</KEYWORD2>
  365.          <KEYWORD2>BF</KEYWORD2>
  366.          <KEYWORD2>WPUB7</KEYWORD2>
  367.          <KEYWORD2>WPUB6</KEYWORD2>
  368.          <KEYWORD2>WPUB5</KEYWORD2>
  369.          <KEYWORD2>WPUB4</KEYWORD2>
  370.          <KEYWORD2>WPUB3</KEYWORD2>
  371.          <KEYWORD2>WPUB2</KEYWORD2>
  372.          <KEYWORD2>WPUB1</KEYWORD2>
  373.          <KEYWORD2>WPUB0</KEYWORD2>
  374.          <KEYWORD2>IOCB7</KEYWORD2>
  375.          <KEYWORD2>IOCB6</KEYWORD2>
  376.          <KEYWORD2>IOCB5</KEYWORD2>
  377.          <KEYWORD2>IOCB4</KEYWORD2>
  378.          <KEYWORD2>IOCB3</KEYWORD2>
  379.          <KEYWORD2>IOCB2</KEYWORD2>
  380.          <KEYWORD2>IOCB1</KEYWORD2>
  381.          <KEYWORD2>IOCB0</KEYWORD2>
  382.          <KEYWORD2>VREN</KEYWORD2>
  383.          <KEYWORD2>VROE</KEYWORD2>
  384.          <KEYWORD2>VRR</KEYWORD2>
  385.          <KEYWORD2>VRSS</KEYWORD2>
  386.          <KEYWORD2>VR3</KEYWORD2>
  387.          <KEYWORD2>VR2</KEYWORD2>
  388.          <KEYWORD2>VR1</KEYWORD2>
  389.          <KEYWORD2>VR0</KEYWORD2>
  390.          <KEYWORD2>CSRC</KEYWORD2>
  391.          <KEYWORD2>TX9</KEYWORD2>
  392.          <KEYWORD2>NOT_TX8</KEYWORD2>
  393.          <KEYWORD2>TX8_9</KEYWORD2>
  394.          <KEYWORD2>TXEN</KEYWORD2>
  395.          <KEYWORD2>SYNC</KEYWORD2>
  396.          <KEYWORD2>SENDB</KEYWORD2>
  397.          <KEYWORD2>BRGH</KEYWORD2>
  398.          <KEYWORD2>TRMT</KEYWORD2>
  399.          <KEYWORD2>TX9D</KEYWORD2>
  400.          <KEYWORD2>TXD8</KEYWORD2>
  401.          <KEYWORD2>BRG7</KEYWORD2>
  402.          <KEYWORD2>BRG6</KEYWORD2>
  403.          <KEYWORD2>BRG5</KEYWORD2>
  404.          <KEYWORD2>BRG4</KEYWORD2>
  405.          <KEYWORD2>BRG3</KEYWORD2>
  406.          <KEYWORD2>BRG2</KEYWORD2>
  407.          <KEYWORD2>BRG1</KEYWORD2>
  408.          <KEYWORD2>BRG0</KEYWORD2>
  409.          <KEYWORD2>BRG15</KEYWORD2>
  410.          <KEYWORD2>BRG14</KEYWORD2>
  411.          <KEYWORD2>BRG13</KEYWORD2>
  412.          <KEYWORD2>BRG12</KEYWORD2>
  413.          <KEYWORD2>BRG11</KEYWORD2>
  414.          <KEYWORD2>BRG10</KEYWORD2>
  415.          <KEYWORD2>BRG9</KEYWORD2>
  416.          <KEYWORD2>BRG8</KEYWORD2>
  417.          <KEYWORD2>PRSEN</KEYWORD2>
  418.          <KEYWORD2>PDC6</KEYWORD2>
  419.          <KEYWORD2>PDC5</KEYWORD2>
  420.          <KEYWORD2>PDC4</KEYWORD2>
  421.          <KEYWORD2>PDC3</KEYWORD2>
  422.          <KEYWORD2>PDC2</KEYWORD2>
  423.          <KEYWORD2>PDC1</KEYWORD2>
  424.          <KEYWORD2>PDC0</KEYWORD2>
  425.          <KEYWORD2>ECCPASE</KEYWORD2>
  426.          <KEYWORD2>ECCPAS2</KEYWORD2>
  427.          <KEYWORD2>ECCPAS1</KEYWORD2>
  428.          <KEYWORD2>ECCPAS0</KEYWORD2>
  429.          <KEYWORD2>PSSAC1</KEYWORD2>
  430.          <KEYWORD2>PSSAC0</KEYWORD2>
  431.          <KEYWORD2>PSSBD1</KEYWORD2>
  432.          <KEYWORD2>PSSBD0</KEYWORD2>
  433.          <KEYWORD2>STRSYNC</KEYWORD2>
  434.          <KEYWORD2>STRD</KEYWORD2>
  435.          <KEYWORD2>STRC</KEYWORD2>
  436.          <KEYWORD2>STRB</KEYWORD2>
  437.          <KEYWORD2>STRA</KEYWORD2>
  438.          <KEYWORD2>ADFM</KEYWORD2>
  439.          <KEYWORD2>VCFG1</KEYWORD2>
  440.          <KEYWORD2>VCFG0</KEYWORD2>
  441.          <KEYWORD2>WDTPS3</KEYWORD2>
  442.          <KEYWORD2>WDTPS2</KEYWORD2>
  443.          <KEYWORD2>WDTPS1</KEYWORD2>
  444.          <KEYWORD2>WDTPS0</KEYWORD2>
  445.          <KEYWORD2>SWDTEN</KEYWORD2>
  446.          <KEYWORD2>C1ON</KEYWORD2>
  447.          <KEYWORD2>C1OUT</KEYWORD2>
  448.          <KEYWORD2>C1OE</KEYWORD2>
  449.          <KEYWORD2>C1POL</KEYWORD2>
  450.          <KEYWORD2>C1R</KEYWORD2>
  451.          <KEYWORD2>C1CH1</KEYWORD2>
  452.          <KEYWORD2>C1CH0</KEYWORD2>
  453.          <KEYWORD2>C2ON</KEYWORD2>
  454.          <KEYWORD2>C2OUT</KEYWORD2>
  455.          <KEYWORD2>C2OE</KEYWORD2>
  456.          <KEYWORD2>C2POL</KEYWORD2>
  457.          <KEYWORD2>C2R</KEYWORD2>
  458.          <KEYWORD2>C2CH1</KEYWORD2>
  459.          <KEYWORD2>C2CH0</KEYWORD2>
  460.          <KEYWORD2>MC1OUT</KEYWORD2>
  461.          <KEYWORD2>MC2OUT</KEYWORD2>
  462.          <KEYWORD2>C1RSEL</KEYWORD2>
  463.          <KEYWORD2>C2RSEL</KEYWORD2>
  464.          <KEYWORD2>T1GSS</KEYWORD2>
  465.          <KEYWORD2>C2SYNC</KEYWORD2>
  466.          <KEYWORD2>SR0</KEYWORD2>
  467.          <KEYWORD2>SR1</KEYWORD2>
  468.          <KEYWORD2>C1SEN</KEYWORD2>
  469.          <KEYWORD2>C2REN</KEYWORD2>
  470.          <KEYWORD2>PULSS</KEYWORD2>
  471.          <KEYWORD2>PULSR</KEYWORD2>
  472.          <KEYWORD2>FVREN</KEYWORD2>
  473.          <KEYWORD2>ABDOVF</KEYWORD2>
  474.          <KEYWORD2>RCIDL</KEYWORD2>
  475.          <KEYWORD2>SCKP</KEYWORD2>
  476.          <KEYWORD2>BRG16</KEYWORD2>
  477.          <KEYWORD2>WUE</KEYWORD2>
  478.          <KEYWORD2>ABDEN</KEYWORD2>
  479.  
  480.          <KEYWORD2>ANS0</KEYWORD2>
  481.          <KEYWORD2>ANS1</KEYWORD2>
  482.          <KEYWORD2>ANS2</KEYWORD2>
  483.          <KEYWORD2>ANS3</KEYWORD2>
  484.          <KEYWORD2>ANS4</KEYWORD2>
  485.          <KEYWORD2>ANS5</KEYWORD2>
  486.          <KEYWORD2>ANS6</KEYWORD2>
  487.          <KEYWORD2>ANS7</KEYWORD2>
  488.          <KEYWORD2>ANS8</KEYWORD2>
  489.          <KEYWORD2>ANS9</KEYWORD2>
  490.          <KEYWORD2>ANS10</KEYWORD2>
  491.          <KEYWORD2>ANS11</KEYWORD2>
  492.          <KEYWORD2>ANS12</KEYWORD2>
  493.          <KEYWORD2>ANS13</KEYWORD2>
  494.  
  495.          <KEYWORD2>EEPGD</KEYWORD2>
  496.          <KEYWORD2>WRERR</KEYWORD2>
  497.          <KEYWORD2>WREN</KEYWORD2>
  498.          <KEYWORD2>WR</KEYWORD2>
  499.          <KEYWORD2>RD</KEYWORD2>
  500.  
  501.          <!-- [Pins-DIP] -->
  502.          <KEYWORD2>RA0</KEYWORD2>
  503.          <KEYWORD2>RA1</KEYWORD2>
  504.          <KEYWORD2>RA2</KEYWORD2>
  505.          <KEYWORD2>RA3</KEYWORD2>
  506.          <KEYWORD2>RA4</KEYWORD2>
  507.          <KEYWORD2>RA5</KEYWORD2>
  508.          <KEYWORD2>RA6</KEYWORD2>
  509.          <KEYWORD2>RA7</KEYWORD2>
  510.  
  511.          <KEYWORD2>RB0</KEYWORD2>
  512.          <KEYWORD2>RB1</KEYWORD2>
  513.          <KEYWORD2>RB2</KEYWORD2>
  514.          <KEYWORD2>RB3</KEYWORD2>
  515.          <KEYWORD2>RB4</KEYWORD2>
  516.          <KEYWORD2>RB5</KEYWORD2>
  517.          <KEYWORD2>RB6</KEYWORD2>
  518.          <KEYWORD2>RB7</KEYWORD2>
  519.  
  520.          <KEYWORD2>RC0</KEYWORD2>
  521.          <KEYWORD2>RC1</KEYWORD2>
  522.          <KEYWORD2>RC2</KEYWORD2>
  523.          <KEYWORD2>RC3</KEYWORD2>
  524.          <KEYWORD2>RC4</KEYWORD2>
  525.          <KEYWORD2>RC5</KEYWORD2>
  526.          <KEYWORD2>RC6</KEYWORD2>
  527.          <KEYWORD2>RC7</KEYWORD2>
  528.  
  529.          <KEYWORD2>RD0</KEYWORD2>
  530.          <KEYWORD2>RD1</KEYWORD2>
  531.          <KEYWORD2>RD2</KEYWORD2>
  532.          <KEYWORD2>RD3</KEYWORD2>
  533.          <KEYWORD2>RD4</KEYWORD2>
  534.          <KEYWORD2>RD5</KEYWORD2>
  535.          <KEYWORD2>RD6</KEYWORD2>
  536.          <KEYWORD2>RD7</KEYWORD2>
  537.  
  538.          <KEYWORD2>RE0</KEYWORD2>
  539.          <KEYWORD2>RE1</KEYWORD2>
  540.          <KEYWORD2>RE2</KEYWORD2>
  541.          <KEYWORD2>RE3</KEYWORD2>
  542.          <KEYWORD2>RE4</KEYWORD2>
  543.          <KEYWORD2>RE5</KEYWORD2>
  544.          <KEYWORD2>RE6</KEYWORD2>
  545.          <KEYWORD2>RE7</KEYWORD2>
  546.  
  547.          <KEYWORD2>RF0</KEYWORD2>
  548.          <KEYWORD2>RF1</KEYWORD2>
  549.          <KEYWORD2>RF2</KEYWORD2>
  550.          <KEYWORD2>RF3</KEYWORD2>
  551.          <KEYWORD2>RF4</KEYWORD2>
  552.          <KEYWORD2>RF5</KEYWORD2>
  553.          <KEYWORD2>RF6</KEYWORD2>
  554.          <KEYWORD2>RF7</KEYWORD2>
  555.  
  556.          <KEYWORD2>RG0</KEYWORD2>
  557.          <KEYWORD2>RG1</KEYWORD2>
  558.          <KEYWORD2>RG2</KEYWORD2>
  559.          <KEYWORD2>RG3</KEYWORD2>
  560.          <KEYWORD2>RG4</KEYWORD2>
  561.          <KEYWORD2>RG5</KEYWORD2>
  562.          <KEYWORD2>RG6</KEYWORD2>
  563.          <KEYWORD2>RG7</KEYWORD2>
  564.  
  565.          <KEYWORD2>RH0</KEYWORD2>
  566.          <KEYWORD2>RH1</KEYWORD2>
  567.          <KEYWORD2>RH2</KEYWORD2>
  568.          <KEYWORD2>RH3</KEYWORD2>
  569.          <KEYWORD2>RH4</KEYWORD2>
  570.          <KEYWORD2>RH5</KEYWORD2>
  571.          <KEYWORD2>RH6</KEYWORD2>
  572.          <KEYWORD2>RH7</KEYWORD2>
  573.  
  574.          <KEYWORD2>RI0</KEYWORD2>
  575.          <KEYWORD2>RI1</KEYWORD2>
  576.          <KEYWORD2>RI2</KEYWORD2>
  577.          <KEYWORD2>RI3</KEYWORD2>
  578.          <KEYWORD2>RI4</KEYWORD2>
  579.          <KEYWORD2>RI5</KEYWORD2>
  580.          <KEYWORD2>RI6</KEYWORD2>
  581.          <KEYWORD2>RI7</KEYWORD2>
  582.  
  583.          <KEYWORD2>RJ0</KEYWORD2>
  584.          <KEYWORD2>RJ1</KEYWORD2>
  585.          <KEYWORD2>RJ2</KEYWORD2>
  586.          <KEYWORD2>RJ3</KEYWORD2>
  587.          <KEYWORD2>RJ4</KEYWORD2>
  588.          <KEYWORD2>RJ5</KEYWORD2>
  589.          <KEYWORD2>RJ6</KEYWORD2>
  590.          <KEYWORD2>RJ7</KEYWORD2>
  591.  
  592.          <KEYWORD2>AN0</KEYWORD2>
  593.          <KEYWORD2>AN1</KEYWORD2>
  594.          <KEYWORD2>AN2</KEYWORD2>
  595.          <KEYWORD2>AN3</KEYWORD2>
  596.          <KEYWORD2>AN4</KEYWORD2>
  597.          <KEYWORD2>AN5</KEYWORD2>
  598.          <KEYWORD2>AN6</KEYWORD2>
  599.          <KEYWORD2>AN7</KEYWORD2>
  600.          <KEYWORD2>AN8</KEYWORD2>
  601.          <KEYWORD2>AN9</KEYWORD2>
  602.          <KEYWORD2>AN0</KEYWORD2>
  603.          <KEYWORD2>AN11</KEYWORD2>
  604.          <KEYWORD2>AN12</KEYWORD2>
  605.          <KEYWORD2>AN13</KEYWORD2>
  606.          <KEYWORD2>AN14</KEYWORD2>
  607.          <KEYWORD2>AN15</KEYWORD2>
  608.          <KEYWORD2>AN16</KEYWORD2>
  609.          <KEYWORD2>AN17</KEYWORD2>
  610.          <KEYWORD2>AN18</KEYWORD2>
  611.          <KEYWORD2>AN19</KEYWORD2>
  612.  
  613.          <KEYWORD2>MCLR</KEYWORD2>
  614.  
  615.          <KEYWORD2>C1INP</KEYWORD2>
  616.          <KEYWORD2>C2INP</KEYWORD2>
  617.  
  618.          <KEYWORD2>T1G</KEYWORD2>
  619.  
  620.          <KEYWORD2>T1CKI</KEYWORD2>
  621.          <KEYWORD2>T0CKI</KEYWORD2>
  622.  
  623.          <KEYWORD2>C1OUT</KEYWORD2>
  624.          <KEYWORD2>C2OUT</KEYWORD2>
  625.  
  626.          <KEYWORD2>OSC1</KEYWORD2>
  627.          <KEYWORD2>OSC2</KEYWORD2>
  628.  
  629.          <KEYWORD2>U1TX</KEYWORD2>
  630.          <KEYWORD2>U1RX</KEYWORD2>
  631.  
  632.          <KEYWORD2>CCP1</KEYWORD2>
  633.          <KEYWORD2>CCP2</KEYWORD2>
  634.  
  635.          <KEYWORD2>ECCPA</KEYWORD2>
  636.          <KEYWORD2>ECCPB</KEYWORD2>
  637.          <KEYWORD2>ECCPC</KEYWORD2>
  638.          <KEYWORD2>ECCPD</KEYWORD2>
  639.  
  640.          <KEYWORD2>Vss</KEYWORD2>
  641.          <KEYWORD2>Vdd</KEYWORD2>
  642.          <KEYWORD2>Vss</KEYWORD2>
  643.          <KEYWORD2>Vdd</KEYWORD2>
  644.  
  645.          <!-- [ConfigOps] -->
  646.          <KEYWORD2>DEBUG</KEYWORD2>
  647.          <KEYWORD2>LVP</KEYWORD2>
  648.          <KEYWORD2>FCMEN</KEYWORD2>
  649.          <KEYWORD2>IESO</KEYWORD2>
  650.          <KEYWORD2>BOR</KEYWORD2>
  651.          <KEYWORD2>CPD</KEYWORD2>
  652.          <KEYWORD2>CP</KEYWORD2>
  653.          <KEYWORD2>MCLRE</KEYWORD2>
  654.          <KEYWORD2>PWRTE</KEYWORD2>
  655.          <KEYWORD2>WDT</KEYWORD2>
  656.          <KEYWORD2>OSC</KEYWORD2>
  657.          <KEYWORD2>WRT</KEYWORD2>
  658.          <KEYWORD2>BORV</KEYWORD2>
  659.  
  660.  
  661.          <!-- [Config] -->
  662.          <KEYWORD2>DEBUG_ON</KEYWORD2>
  663.          <KEYWORD2>DEBUG_OFF</KEYWORD2>
  664.          <KEYWORD2>LVP_ON</KEYWORD2>
  665.          <KEYWORD2>LVP_OFF</KEYWORD2>
  666.          <KEYWORD2>FCMEN_ON</KEYWORD2>
  667.          <KEYWORD2>FCMEN_OFF</KEYWORD2>
  668.          <KEYWORD2>IESO_ON</KEYWORD2>
  669.          <KEYWORD2>IESO_OFF</KEYWORD2>
  670.          <KEYWORD2>BOR_ON</KEYWORD2>
  671.          <KEYWORD2>BOR_NSLEEP</KEYWORD2>
  672.          <KEYWORD2>BOR_SBODEN</KEYWORD2>
  673.          <KEYWORD2>BOR_OFF</KEYWORD2>
  674.          <KEYWORD2>CPD_ON</KEYWORD2>
  675.          <KEYWORD2>CPD_OFF</KEYWORD2>
  676.          <KEYWORD2>CP_ON</KEYWORD2>
  677.          <KEYWORD2>CP_OFF</KEYWORD2>
  678.          <KEYWORD2>MCLRE_ON</KEYWORD2>
  679.          <KEYWORD2>MCLRE_OFF</KEYWORD2>
  680.          <KEYWORD2>PWRTE_ON</KEYWORD2>
  681.          <KEYWORD2>PWRTE_OFF</KEYWORD2>
  682.          <KEYWORD2>WDT_ON</KEYWORD2>
  683.          <KEYWORD2>WDT_OFF</KEYWORD2>
  684.          <KEYWORD2>LP_OSC</KEYWORD2>
  685.          <KEYWORD2>XT_OSC</KEYWORD2>
  686.          <KEYWORD2>HS_OSC</KEYWORD2>
  687.          <KEYWORD2>EC_OSC</KEYWORD2>
  688.          <KEYWORD2>INTRC_OSC_NOCLKOUT</KEYWORD2>
  689.          <KEYWORD2>INTRC_OSC_CLKOUT</KEYWORD2>
  690.          <KEYWORD2>EXTRC_OSC_NOCLKOUT</KEYWORD2>
  691.          <KEYWORD2>EXTRC_OSC_CLKOUT</KEYWORD2>
  692.          <KEYWORD2>INTOSCIO</KEYWORD2>
  693.          <KEYWORD2>INTOSC</KEYWORD2>
  694.          <KEYWORD2>EXTRCIO</KEYWORD2>
  695.          <KEYWORD2>EXTRC</KEYWORD2>
  696.          <KEYWORD2>WRT_OFF</KEYWORD2>
  697.          <KEYWORD2>WRT_256</KEYWORD2>
  698.          <KEYWORD2>WRT_1FOURTH</KEYWORD2>
  699.          <KEYWORD2>WRT_HALF</KEYWORD2>
  700.          <KEYWORD2>BOR21V</KEYWORD2>
  701.          <KEYWORD2>BOR40V</KEYWORD2>
  702.  
  703.  
  704.          <!--  ====== CHIP DATA : END  ====== -->
  705.  
  706.  
  707.             <!-- Flow Control -->
  708.             <KEYWORD1>if</KEYWORD1>
  709.             <KEYWORD1>then</KEYWORD1>
  710.             <KEYWORD1>end</KEYWORD1>
  711.             <KEYWORD1>goto</KEYWORD1>
  712.             <KEYWORD1>gosub</KEYWORD1>
  713.             <KEYWORD1>return</KEYWORD1>
  714.  
  715.             <!-- Loop Statements -->
  716.             <KEYWORD1>for</KEYWORD1>
  717.             <KEYWORD1>to</KEYWORD1>
  718.             <KEYWORD1>step</KEYWORD1>
  719.             <KEYWORD1>next</KEYWORD1>
  720.  
  721.             <!-- Do..Loop -->
  722.             <KEYWORD1>do</KEYWORD1>
  723.             <KEYWORD1>while</KEYWORD1>
  724.             <KEYWORD1>until</KEYWORD1>
  725.             <KEYWORD1>loop</KEYWORD1>
  726.  
  727.          <!-- Repeat..Loop -->
  728.             <KEYWORD1>repeat</KEYWORD1>
  729.  
  730.          <!-- Select..Case -->
  731.             <KEYWORD1>select</KEYWORD1>
  732.          <KEYWORD1>case</KEYWORD1>
  733.  
  734.          <!-- Call..Every -->
  735.             <KEYWORD1>call</KEYWORD1>
  736.          <KEYWORD1>every</KEYWORD1>
  737.  
  738.             <!-- Closing, Exit Statements -->
  739.             <KEYWORD1>exit</KEYWORD1>
  740.             <KEYWORD1>end</KEYWORD1>
  741.  
  742.             <!-- Methods, Functions, Class, Properties, Variables -->
  743.             <KEYWORD1>function</KEYWORD1>
  744.             <KEYWORD1>sub</KEYWORD1>
  745.          <KEYWORD1>macro</KEYWORD1>
  746.          <KEYWORD1>let</KEYWORD1>
  747.  
  748.             <!-- Declaration -->
  749.             <KEYWORD1>dim</KEYWORD1>
  750.             <KEYWORD1>as</KEYWORD1>
  751.  
  752.             <!-- Bitwise -->
  753.             <KEYWORD1>rotate</KEYWORD1>
  754.             <KEYWORD1>left</KEYWORD1>
  755.             <KEYWORD1>right</KEYWORD1>
  756.          <KEYWORD1>simple</KEYWORD1>
  757.          <KEYWORD1>set</KEYWORD1>
  758.  
  759.             <!-- Comments -->
  760.             <KEYWORD1>rem</KEYWORD1>
  761.  
  762.          <!-- RS 232 Commands -->
  763.          <KEYWORD1>InitSer </KEYWORD1>
  764.          <KEYWORD1>SerSend </KEYWORD1>
  765.          <KEYWORD1>SerReceive </KEYWORD1>
  766.          <KEYWORD1>SerPrint </KEYWORD1>
  767.  
  768.          <!-- A/D Commands -->
  769.          <KEYWORD1>ReadAD </KEYWORD1>
  770.          <KEYWORD1>ADFormat </KEYWORD1>
  771.          <KEYWORD1>ADOff </KEYWORD1>
  772.  
  773.          <!-- SPI/I2C Commands -->
  774.          <KEYWORD1>SPIMode </KEYWORD1>
  775.          <KEYWORD1>SPITransfer </KEYWORD1>
  776.  
  777.          <!-- EEPROM Commands -->
  778.          <KEYWORD1>EPRead </KEYWORD1>
  779.          <KEYWORD1>EPWrite </KEYWORD1>
  780.          <KEYWORD1>ProgramWrite </KEYWORD1>
  781.          <KEYWORD1>ProgramRead </KEYWORD1>
  782.          <KEYWORD1>ProgramErase </KEYWORD1>
  783.  
  784.          <!-- Hardware PWM Commands -->
  785.          <KEYWORD1>PWMOn </KEYWORD1>
  786.          <KEYWORD1>PWMOff </KEYWORD1>
  787.          <KEYWORD1>HPWM </KEYWORD1>
  788.  
  789.          <!-- SRF04 Distance Sensor PWM Commands -->
  790.          <KEYWORD1>USDistance </KEYWORD1>
  791.  
  792.          <!-- Sound PWM Commands -->
  793.          <KEYWORD1>Tone </KEYWORD1>
  794.  
  795.          <!-- LCD Display Commands -->
  796.          <KEYWORD1>PRINT </KEYWORD1>
  797.          <KEYWORD1>LOCATE </KEYWORD1>
  798.          <KEYWORD1>PUT </KEYWORD1>
  799.          <KEYWORD1>CLS </KEYWORD1>
  800.          <KEYWORD1>LCDInt </KEYWORD1>
  801.          <KEYWORD1>LCDHex </KEYWORD1>
  802.          <KEYWORD1>LCDWord </KEYWORD1>
  803.  
  804.          <!-- 7-Segment Display Commands -->
  805.          <KEYWORD1>DisplayValue </KEYWORD1>
  806.          <KEYWORD1>DisplayChar </KEYWORD1>
  807.  
  808.          <!-- Keypad Commands -->
  809.          <KEYWORD1>KeypadRaw</KEYWORD1>
  810.          <KEYWORD1>KeypadData</KEYWORD1>
  811.  
  812.          <!-- String handling Functions -->
  813.          <KEYWORD1>LEN </KEYWORD1>
  814.          <KEYWORD1>MID$ </KEYWORD1>
  815.  
  816.          <!-- Timer Functions -->
  817.          <KEYWORD1>InitTimer0</KEYWORD1>
  818.          <KEYWORD1>InitTimer1</KEYWORD1>
  819.          <KEYWORD1>InitTimer2</KEYWORD1>
  820.          <KEYWORD1>ClearTimer</KEYWORD1>
  821.          <KEYWORD1>StartTimer</KEYWORD1>
  822.          <KEYWORD1>StopTimer</KEYWORD1>
  823.  
  824.             <!-- Miscellaneous Commands/Functions -->
  825.             <KEYWORD1>WAIT</KEYWORD1>
  826.             <KEYWORD1>SLEEP</KEYWORD1>
  827.             <KEYWORD1>DIR</KEYWORD1>
  828.             <KEYWORD3>IN</KEYWORD3>
  829.             <KEYWORD3>OUT</KEYWORD3>
  830.             <KEYWORD1>PORT</KEYWORD1>
  831.             <KEYWORD1>PULSEOUT</KEYWORD1>
  832.             <KEYWORD1>POT</KEYWORD1>
  833.          <KEYWORD1>PWMOut</KEYWORD1>
  834.          <KEYWORD1>PEEK</KEYWORD1>
  835.          <KEYWORD1>POKE</KEYWORD1>
  836.          <KEYWORD1>Random</KEYWORD1>
  837.          <KEYWORD1>Swap</KEYWORD1>
  838.          <KEYWORD1>Swap4</KEYWORD1>
  839.          <KEYWORD1>Table</KEYWORD1>
  840.          <KEYWORD1>ReadTable</KEYWORD1>
  841.  
  842.             <!-- Logical operators -->
  843.             <OPERATOR>and</OPERATOR>
  844.             <OPERATOR>or</OPERATOR>
  845.             <OPERATOR>not</OPERATOR>
  846.             <OPERATOR>xor</OPERATOR>
  847.  
  848.             <!-- Datatypes Constants/Literals -->
  849.             <KEYWORD3>false</KEYWORD3>
  850.             <KEYWORD3>true</KEYWORD3>
  851.             <KEYWORD3>on</KEYWORD3>
  852.             <KEYWORD3>off</KEYWORD3>
  853.  
  854.             <!-- Constants Time Units -->
  855.             <LITERAL2>us</LITERAL2>
  856.             <LITERAL2>10us</LITERAL2>
  857.             <LITERAL2>ms</LITERAL2>
  858.             <LITERAL2>10ms</LITERAL2>
  859.             <LITERAL2>s</LITERAL2>
  860.          <LITERAL2>sec</LITERAL2>
  861.             <LITERAL2>m</LITERAL2>
  862.             <LITERAL2>h</LITERAL2>
  863.  
  864.             <!-- Data Types -->
  865.             <LITERAL2>bit</LITERAL2>
  866.             <LITERAL2>byte</LITERAL2>
  867.             <LITERAL2>word</LITERAL2>
  868.             <LITERAL2>float</LITERAL2>
  869.  
  870.          <!-- Built-in #defines (used for #IFDEF) -->
  871.          <LITERAL2>ChipMHz</LITERAL2>
  872.          <LITERAL2>ChipName</LITERAL2>
  873.          <LITERAL2>ChipFamily</LITERAL2>
  874.          <LITERAL2>OSC</LITERAL2>
  875.          <LITERAL2>Var</LITERAL2>
  876.          <LITERAL2>NoVar</LITERAL2>
  877.          <LITERAL2>Bit</LITERAL2>
  878.          <LITERAL2>NoBit</LITERAL2>
  879.          <LITERAL2>AllOf</LITERAL2>
  880.          <LITERAL2>OneOf</LITERAL2>
  881.  
  882.         </KEYWORDS>
  883.  
  884.       <!-- Binary Numbers instead of single quote comments. For example b'00011011' -->
  885.       <SPAN TYPE="LITERAL1" >
  886.       <BEGIN>b'</BEGIN><END>'</END>
  887.       </SPAN>
  888.  
  889.     </RULES>
  890.  
  891. </MODE>
  892.  
  893.  
  894.  
  895.